<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<div class="t_bar">
	<span class="color_red">*</span>1、总体定位和发展思路
</div>
<table class="t_css" width="100%" id="table_09">
    <tr>
        <td>请简要介绍实验室总体定位、实验室特色、主要研究方向与目标、优势与存在的不足；在国内、省内该学科领域实验室的地位和作用；今后三年的建设目标、发展思路和保障举措等。（限1000字） </td>
    </tr>
    <tr>
        <td>
            <textarea name="proposal/location_thinking" class="input_textarea required maxlength:1000" label="总体定位和发展思路" style="width: 98%" rows="9"><x:out select="$xmlData/data/proposal/location_thinking" /></textarea>
            <input type="hidden" name="proposal/location_thinking_hidden" value="<x:out select="$xmlData/data/proposal/location_thinking_hidden" />"/>
        </td>
    </tr>
</table>

<div class="t_bar">
    <span class="color_red">*</span>2、承担的主要任务（相关证明材料装订成册）
</div>
<strong>（1）国家级和省部级科技计划项目（限填25项） </strong>
<table id="eq_table2" class="t_css" width="100%">
<col style="width: 5%"/>
<col style="width: 5%"/>
<col style="width: 16%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>
<col style="width: 12%"/>
<col style="width: 12%"/>
<col style="width: 10%"/>
<col style="width: 10%"/>

    <thead >
        <tr style="border:1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">课题名称</th>
            <th class="TblHead" align="center">编号</th>
            <th class="TblHead" align="center">负责人</th>
            <th class="TblHead" align="center">开始时间</th>
            <th class="TblHead" align="center">结束时间</th>
            <th class="TblHead" align="center">经费（万元）</th>
            <th class="TblHead" align="center">类别</th>
        </tr>
    </thead>
    <tbody>
        <tr style="display:none">
            <td align="center">
                <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton2" >
            </td>
            <td align="center">
                <span name="technology_plan_prjs|technology_plan_prj[0]@seq_no" >[index]</span> 
            </td>
            <td align="center">
                <input type="text" name="technology_plan_prjs|technology_plan_prj[0]|topic_name" class="required" maxlength="60" style="width:80%" label="课题名称" value="" />
            </td>
            <td align="center">
                <input type="text" name="technology_plan_prjs|technology_plan_prj[0]|identifier" class="required" maxlength="40" style="width:80%" label="编号" value="" />
            </td>
            <td align="center">
                <input type="text" name="technology_plan_prjs|technology_plan_prj[0]|psn_charge" class="required" maxlength="40" style="width:80%" label="负责人" value="" />
            </td>
            <td align="center">
                <cpt:date id="start1_date[0]" name="technology_plan_prjs|technology_plan_prj[0]|start1_date" value="" className="required date dateCompareBeforeE:start1_date[0]:end1_date[0]" label="开始时间" size="9"></cpt:date>
            </td>
            <td align="center">
                <cpt:date id="end1_date[0]" name="technology_plan_prjs|technology_plan_prj[0]|end1_date" value="" className="required date" label="结束时间" size="9"></cpt:date>
            </td>
            <td align="center">
                <input type="text" name="technology_plan_prjs|technology_plan_prj[0]|funding" class="required" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" label="经费" value="" />
            </td>
            <td align="center">
                <input type="text" name="technology_plan_prjs|technology_plan_prj[0]|type" class="required" maxlength="40" style="width:80%" label="类别" value="" />
            </td>
        </tr>
    
    
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/technology_plan_prjs/technology_plan_prj" var="technology_plan_prj">
            <c:choose>
                <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
                <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton2" >
                </td>
                <td align="center">
                    <span name="technology_plan_prjs/technology_plan_prj[${flag}${index}]@seq_no"><x:out select="$technology_plan_prj/@seq_no"/></span> 
                </td>
                <td align="center">
                    <input type="text" name="technology_plan_prjs/technology_plan_prj[${flag}${index}]/topic_name" value="<x:out select="$technology_plan_prj/topic_name" />"  maxlength="60" class="required" style="width:80%" label="课题名称"/>
                </td>
                <td align="center">
                    <input type="text" name="technology_plan_prjs/technology_plan_prj[${flag}${index}]/identifier" class="required" maxlength="40" style="width:80%" label="编号" value="<x:out select="$technology_plan_prj/identifier"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="technology_plan_prjs/technology_plan_prj[${flag}${index}]/psn_charge" class="required" maxlength="40" style="width:80%" label="负责人" value="<x:out select="$technology_plan_prj/psn_charge"/>"/>
                </td>
                <td align="center">
                    <c:set var="start1_date"><x:out select="$technology_plan_prj/start1_date"/></c:set>
                    <cpt:date id="start1_date${index }" name="technology_plan_prjs/technology_plan_prj[${flag}${index}]/start1_date" value="${start1_date }" className="required date dateCompareBeforeE:start1_date${index }:end1_date${index }" label="开始时间" size="9"></cpt:date>
                </td>
                <td align="center">
                    <c:set var="end1_date"><x:out select="$technology_plan_prj/end1_date"/></c:set>
                    <cpt:date id="end1_date${index }" name="technology_plan_prjs/technology_plan_prj[${flag}${index}]/end1_date" value="${end1_date }" className="required date" label="结束时间" size="9"></cpt:date>
                </td>
                <td align="center">
                    <input type="text" name="technology_plan_prjs/technology_plan_prj[${flag}${index}]/funding" class="required" style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,9,2,2)" label="经费" value="<x:out select="$technology_plan_prj/funding"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="technology_plan_prjs/technology_plan_prj[${flag}${index}]/type" class="required" style="width:80%" maxlength="40" label="类别" value="<x:out select="$technology_plan_prj/type"/>"/>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('eq_table2',25,'国家级和省部级科技计划项目内容最多只能填写25条')){addNewRow('eq_table2');showDateTag('eq_table2');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('eq_table2','selButton2');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('eq_table2','selButton2');">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('eq_table2','国家级和省部级科技计划项目');">
        </td>
    </tr>
</table>

<strong>（2）产学研合作项目（限10项）  </strong>
<table id="eq_table3" class="t_css" width="100%">
<col style="width: 5%"/>
<col style="width: 5%"/>
<col style="width: 16%"/>
<col style="width: 16%"/>
<col style="width: 10%"/>
<col style="width: 12%"/>
<col style="width: 12%"/>
<col style="width: 14%"/>

    <thead >
        <tr style="border:1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">项目名称</th>
            <th class="TblHead" align="center">合作单位</th>
            <th class="TblHead" align="center">负责人</th>
            <th class="TblHead" align="center">开始时间</th>
            <th class="TblHead" align="center">结束时间</th>
            <th class="TblHead" align="center">经费（万元）</th>
        </tr>
    </thead>
    <tbody id="tab">
        <tr style="display:none">
            <td align="center">
                <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton3" >
            </td>
            <td align="center">
                <span name="cooperation_prjs|cooperation_prj[0]@seq_no" >[index]</span> 
            </td>
            <td align="center">
                <input type="text" name="cooperation_prjs|cooperation_prj[0]|prj_name" class="required" maxlength="60" style="width:80%" label="项目名称" value="" />
            </td>
            <td align="center">
                <input type="text" name="cooperation_prjs|cooperation_prj[0]|cooperation_unit" class="required" maxlength="40" style="width:80%" label="合作单位" value="" />
            </td>
            <td align="center">
                <input type="text" name="cooperation_prjs|cooperation_prj[0]|psn_charge" class="required" maxlength="40" style="width:80%" label="负责人" value="" />
            </td>
            <td align="center">
                <cpt:date id="start2_date[0]" name="cooperation_prjs|cooperation_prj[0]|start2_date" value="" className="required date dateCompareBeforeE:start2_date[0]:end2_date[0]" label="开始时间" size="9"></cpt:date>
            </td>
            <td align="center">
                <cpt:date id="end2_date[0]" name="cooperation_prjs|cooperation_prj[0]|end2_date" value="" className="required date" label="结束时间" size="9"></cpt:date>
            </td>
            <td align="center">
                <input type="text" name="cooperation_prjs|cooperation_prj[0]|funding" class="required" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" label="经费" value="" />
            </td>
        </tr>
    
    
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/cooperation_prjs/cooperation_prj" var="cooperation_prj">
            <c:choose>
                <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
                <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton3" >
                </td>
                <td align="center">
                    <span name="cooperation_prjs/cooperation_prj[${flag}${index}]@seq_no"><x:out select="$cooperation_prj/@seq_no"/></span> 
                </td>
                <td align="center">
                    <input type="text" name="cooperation_prjs/cooperation_prj[${flag}${index}]/prj_name" value="<x:out select="$cooperation_prj/prj_name" />"  maxlength="60" class="required" style="width:80%" label="项目名称"/>
                </td>
                <td align="center">
                    <input type="text" name="cooperation_prjs/cooperation_prj[${flag}${index}]/cooperation_unit" class="required" maxlength="40" style="width:80%" label="合作单位" value="<x:out select="$cooperation_prj/cooperation_unit"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="cooperation_prjs/cooperation_prj[${flag}${index}]/psn_charge" class="required" maxlength="40" style="width:80%" label="负责人" value="<x:out select="$cooperation_prj/psn_charge"/>"/>
                </td>
                <td align="center">
                    <c:set var="start2_date"><x:out select="$cooperation_prj/start2_date"/></c:set>
                    <cpt:date id="start2_date${index }" name="cooperation_prjs/cooperation_prj[${flag}${index}]/start2_date" value="${start2_date }" className="required date dateCompareBeforeE:start2_date${index }:end2_date${index }" label="开始时间" size="9"></cpt:date>
                </td>
                <td align="center">
                    <c:set var="end2_date"><x:out select="$cooperation_prj/end2_date"/></c:set>
                    <cpt:date id="end2_date${index }" name="cooperation_prjs/cooperation_prj[${flag}${index}]/end2_date" value="${end2_date }" className="required date" label="结束时间" size="9"></cpt:date>
                </td>
                <td align="center">
                    <input type="text" name="cooperation_prjs/cooperation_prj[${flag}${index}]/funding" class="required" style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,9,2,2)" label="经费" value="<x:out select="$cooperation_prj/funding"/>"/>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('eq_table3',10,'产学研合作项目内容最多只能填写10条')){addNewRow('eq_table3');showDateTag('eq_table3');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('eq_table3','selButton3');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('eq_table3','selButton3');">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('eq_table3','产学研合作项目 ');">
        </td>
    </tr>
</table>
